#ifndef _TREE_H
#define _TREE_H

#include <d3dx9.h>

#include "movable.h"
#include "sprite.h"
#include "picture.h"

class CTree : public CMovable
{
public:
	CTree();
	CTree(float,float);
	~CTree();
	int Top;
	int stopTime;
	int isStopping;
	virtual void isJumpedOn(CObjects * obj);
	virtual void Touch(CObjects * obj);
	virtual void RenderFrame(LPDIRECT3DDEVICE9 d3ddv,int t);
	virtual void Update(int t);
	virtual void Die();
	//virtual void AfterMove(int ii);
};
#endif